namespace Logic.Map.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class altertablechar : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Carriage", "PathWay", c => c.String(maxLength: 50));
            AddColumn("dbo.Carriage", "ThingsName", c => c.String(maxLength: 100));
            AddColumn("dbo.Carriage", "ArriveTime", c => c.DateTime(nullable: false));
            AddColumn("dbo.Carriage", "ThingsCount", c => c.Decimal(precision: 18, scale: 2));
            AddColumn("dbo.Carriage", "Weight", c => c.Decimal(precision: 18, scale: 2));
            AddColumn("dbo.Carriage", "FenHao", c => c.String(maxLength: 50));
            AddColumn("dbo.Carriage", "Customers", c => c.String(maxLength: 100));
        }
        
        public override void Down()
        {
            DropColumn("dbo.Carriage", "Customers");
            DropColumn("dbo.Carriage", "FenHao");
            DropColumn("dbo.Carriage", "Weight");
            DropColumn("dbo.Carriage", "ThingsCount");
            DropColumn("dbo.Carriage", "ArriveTime");
            DropColumn("dbo.Carriage", "ThingsName");
            DropColumn("dbo.Carriage", "PathWay");
        }
    }
}
